<html><head><title>EventMenu</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">EventMenu()</font></b></p>
<p><b>Syntax</b></p><blockquote>
MenuItem = <font color="#006666"><b>EventMenu</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

After an event of type <font color="#924B72">#PB_Event_Menu</font> (returned by <a href="windowevent.html">WindowEvent()</a> or <a href="waitwindowevent.html">WaitWindowEvent()</a>), 
use this function to determine which menu item, <a href="../toolbar/index.html">toolbar</a> item 
or <a href="addkeyboardshortcut.html">keyboard</a> shortcut has been selected. 

</blockquote><p><b>Parameters</b></p><blockquote>
None.


</blockquote><p><b>Return value</b></p><blockquote>

Returns the menu item, toolbar item or keyboard shortcut number associated to the event. 

</blockquote><p><b>Remarks</b></p><blockquote>

A toolbar event is like a menu event (as toolbars are shortcuts for menu items most of the time). 
So it's a good idea, if the toolbar buttons and the menu items have the same ID, then the same 
operation can be done on both without any additional code. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="windowevent.html">WindowEvent()</a>, <a href="waitwindowevent.html">WaitWindowEvent()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=eventgadget.html>EventGadget()</a> - <a href=index.html>Window Index</a> - <a href=eventtimer.html>EventTimer()</a> ->

</body></html>